<%= form_tag({}) do -%>
  <%= hidden_field_tag 'back_url', url_for(params) %>
  <%= hidden_field_tag 'project_id', @project.id if @project %>
  <% board_statuses = IssueStatus.sorted %>
<div class="agile-board autoscroll">
    <table class="list issues-board <%= 'status-colors' if RedmineAgile.status_colors? %> <%= 'minimize-closed' if RedmineAgile.minimize_closed? %>">
      <thead>
      <%= render_board_headers(@board_columns) %>
      </thead>
          <tr style="text-align: center;white-space: nowrap;" class="issue <%= cycle('odd', 'even') %>">
          <% @board_columns.each do |column| %>
            <td class="issue-status-col <%= 'closed' if column.is_closed? %>" data-id="<%= column.id %>">
            <% @issue_board[[column.id]].to_a.each do |issue| %>
              <%= render :partial => 'issue_card', :locals => {:issue => issue} %>
            <% end %>
            </td>

            <% end %>
          </tr>

    </table>
</div>

<% end %>
